package com.wn.ziroombackend.service.impl;

import com.wn.ziroombackend.entity.RoomInfo;
import com.wn.ziroombackend.mapper.RoomImgMapper;
import com.wn.ziroombackend.mapper.RoomInfoMapper;
import com.wn.ziroombackend.service.RoomInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wn.ziroombackend.vo.RoomInfoVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wangzhijia
 * @since 2023-02-28 04:08:22
 */
@Service
public class RoomInfoServiceImpl extends ServiceImpl<RoomInfoMapper, RoomInfo> implements RoomInfoService {

    @Autowired
    private RoomInfoMapper roomInfoMapper;

    @Override
    public RoomInfoVo getInfoById(Integer id) {

       return roomInfoMapper.selectInfoById(id);

    }
}
